package com.fanshuai.stack;

public interface Stack<E> {
    int size();
    boolean isEmpty();
    void push(E e);
    E pop();

    /**
     * 弹出栈顶元素
     * @return
     */
    E peek();
}
